package com.gobuy.system.service;


import com.gobuy.system.pojo.Admin;

import java.util.List;

/**
 * @author Gaozexi on 2020/6/4 11:35
 * Step by Step  and Stand on,  You Are The Best Investment!
 */
public interface AdminService    {
    /**
     * 新增管理员
     * @param admin
     */
    void add(Admin admin);

    /**
     * 用户登录
     * @param admin
     * @return
     */
    boolean login(Admin admin);

    /**
     * 查询所有tb_admin信息
     * @return
     */
    List<Admin> findAll();
}
